package com.lzx.dormsys.bean;

import com.lzx.dormsys.entity.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

/**
 * roomtype对象 dms_roomtype
 * 
 * @author ruoyi
 * @date 2021-09-09
 */
public class RoomtypeBean extends BaseEntity
{
    private static final long serialVersionUID = 1L;



    /** 房间编号 */
    private Long roomtypeId;



    /** 房间名称 */
    private String roomtypeName;



    /** 性别（0男 1女 2不限） */
    private Long sex;



    /** 可住人数 */
    private Long personNum;

    public void setRoomtypeId(Long roomtypeId) 
    {
        this.roomtypeId = roomtypeId;
    }

    public Long getRoomtypeId() 
    {
        return roomtypeId;
    }
    public void setRoomtypeName(String roomtypeName) 
    {
        this.roomtypeName = roomtypeName;
    }

    public String getRoomtypeName() 
    {
        return roomtypeName;
    }
    public void setSex(Long sex) 
    {
        this.sex = sex;
    }

    public Long getSex() 
    {
        return sex;
    }
    public void setPersonNum(Long personNum) 
    {
        this.personNum = personNum;
    }

    public Long getPersonNum() 
    {
        return personNum;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("roomtypeId", getRoomtypeId())
            .append("roomtypeName", getRoomtypeName())
            .append("sex", getSex())
            .append("personNum", getPersonNum())
            .toString();
    }
}
